<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<link rel="stylesheet" media="screen" href="css/docs.css" />
<script type="text/javascript" src="js/jquery.itextclear.js"></script>
<!-- jQplot CSS -->

<link rel="stylesheet" media="screen" href="css/Tree.css" />
<!-- jQplot CSS END -->

<!-- DATATABLES CSS -->
<link rel="stylesheet" media="screen" href="lib/datatables/css/vpad.css" />
<!-- DATATABLES CSS END -->
<h1 class="page-title">员工培训计划 - 打印</h1>
<div class="container_12 clearfix leading">
	<section class="tabs grid_12 leading">
		<ul class="clearfix">
			<li><a href="javascript:void(0)" class="current"
				onclick="loadListContent('/train/plan_print_list.xhtml','resource')">教材打印</a></li>
			<li><a href="javascript:void(0)"
				onclick="loadListContent('/train/plan_signin.xhtml','signin')">签到表</a></li>
			<li><a href="javascript:void(0)"
				onclick="loadListContent('/train/plan_notify.xhtml','notify')">培训通知</a></li>

		</ul>
		<section>
			<section class="clearfix" style="display: block;">
				<header class="grid_12 alpha omega"></header>
				<div class="clearfix" id="list_content_resource"></div>
			</section>
			<section class="clearfix" style="display: block;">
				<div class="container_12 clearfix leading" id="list_content_signin">
				</div>
			</section>
			<section class="clearfix" style="display: block;">
				<div class="container_12 clearfix leading" id="list_content_notify">
				</div>
			</section>
			<section class="clearfix" style="display: none;">
				<header class="grid_12 alpha omega">
					<h2>Tab 4</h2>
				</header>
			</section>
		</section>
	</section>
</div>

<div class="clear"></div>

<script type="text/javascript">
	$(function() {
		setTimeout('loadListContent("${ctx}${listAction}", "resource")', 600);
	})

	function loadListContent(url, resourceType) {
		var data = {
			"planId":${planId}
		};
		//refreshListContent(url, data);
		$.ajax(url, {
			type : "POST",
			data : data,
			dataType : "html",
			cache : false,
			success : function(a) {
				var obj = $("#list_content_" + resourceType);
				obj.html("");
				obj.append(a);
			},
			complete : function() {
			}
		});
	}

</script>
